﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x02000078 RID: 120
	internal class Array32Header : IArrayHeaderDecoder
	{
		// Token: 0x06000229 RID: 553 RVA: 0x0000B199 File Offset: 0x00009599
		private Array32Header()
		{
		}

		// Token: 0x0600022A RID: 554 RVA: 0x0000B1A1 File Offset: 0x000095A1
		public uint Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 5;
			return (uint)((int)bytes[offset + 1] << 24 | (int)bytes[offset + 2] << 16 | (int)bytes[offset + 3] << 8 | (int)bytes[offset + 4]);
		}

		// Token: 0x040000A2 RID: 162
		internal static readonly IArrayHeaderDecoder Instance = new Array32Header();
	}
}
